package com.itbuka.seckill.mapper;


import com.itbuka.seckill.domain.SeckillProduct;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;


/**
* @author ld
* @description 针对表【itbuka_seckill_product(秒杀商品表)】的数据库操作Mapper
* @createDate 2024-08-15 09:29:52
* @Entity generator.domain.SeckillProduct
*/
@Mapper
public interface SeckillProductMapper extends BaseMapper<SeckillProduct> {

    int updateStock(@Param("id")Long id,@Param("num") Integer num);
}




